﻿using System;
using System.Net;

using Tulde.Windows.Music.ViewModel;

namespace Tulde.Windows.Music.Mp3Tunes
{
    public enum AuthenticationOperations
    {
        login
    }
    public class AuthenticationService : BaseDataService<AuthenticationOperations>
    {
        protected override object DeserializeResult(string result)
        {
            return ViewModelSerializerFactory.Instance.Deserialize<AuthenticationToken>(result);
        }
        protected override string BaseUrl
        {
            get
            {
                return "https://shop.mp3tunes.com/api/v1/";
            }
        }
    }
}
